package net.gazhi.delonix.rbac.form;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 角色表单
 * 
 */
public class GroupEditForm {

	private int id;

	private int parentId;

	@NotEmpty(message = "分组名称不能为空！")
	@Length(max = 64, message = "分组名称不能超过64个字符")
	private String name;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
